package com.authine.cloudpivot.web.api.secondopen.controller;

import com.authine.cloudpivot.web.api.controller.base.BaseController;
import com.authine.cloudpivot.web.api.secondopen.domain.AjaxResult;
import com.authine.cloudpivot.web.api.secondopen.modules.ReportVO;
import com.authine.cloudpivot.web.api.secondopen.service.ReportService;
import io.swagger.annotations.Api;
import org.apache.commons.math3.transform.RealTransformer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@Api(value = "二开接口",tags = "报表控制器")
@RestController
@RequestMapping("/api/reportForms")
public class ReportFormsController extends BaseController {
    private static final Logger log = LoggerFactory.getLogger(ReportFormsController.class);

    @Autowired
    private ReportService reportService;


    @RequestMapping("/getItReport")
    public AjaxResult getItReport(){
        List<ReportVO> itReport = reportService.getItReport();
        return AjaxResult.success(itReport);
    }
}
